<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            border: 0;
            text-decoration: none;
            text-transform: uppercase;
            letter-spacing: .3em;
        }

        body {
            width: 100vw;
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: #2C3E50;

        }

        main {
            width: 150px;
            height: 50px;
            /* border: 1px solid #E74C3C; */
            display: flex;
            justify-content: center;
            align-items: center;
            /* overflow: hidden; */
            /* position: relative; */

        }

        .btn {
            color: #fff;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            /* border: 1px solid #E74C3C; */
            background-color: #E74C3C;
            position: relative;
            transform: skew(-10deg, 10deg);

        }

        .btn::before {
            content: "";
            height: 100%;
            width: 10px;
            background-color: black;
            position: absolute;
            left: -10px;
            transform: skewY(-45deg) translate(0, 5px);
        }

        .btn::after {
            content: "";
            height: 10px;
            width: 100%;
            background-color: black;
            position: absolute;
            bottom: -10px;
            transform: skewX(-45deg) translate(-5px, 0px);
        }
    </style>
</head>

<body>
    <main>
        <a href="#" class="btn"> 3DAfeibtn</a>
    </main>
</body>

</html>